<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use EloquentFilter\Filterable;
use App\Models\Traits\Admin\ActionButtonTrait;

class FreightWayDemoData extends Model
{
	use Filterable;
    
    protected $table = 'freight_way_demo_data';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */

    protected $fillable = [
    	'freight_way_demo_id','capacity', 'state','type', 'No'
    ];

    public function freightWayDemo()
    {
    	return $this->belongsTo(FreightWayDemo::class, 'freight_way_demo_id', 'id');
    }

}
